using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace fenk.Ventas.Acreditaciones
{
    public partial class Acreditaciones : mvLibrary.BaseForm
    {
        public Acreditaciones()
        {
            InitializeComponent();
        }
        
        public override void BeforeSaveItem()
        {
            // confirmacion
            if (_item[4].ToString() != "")
            {
                SelectPickPrinter();
                
            }
        }
        public override void AfterSaveItem()
        {
            // impresion avisos de confirmacion
            if (PrinterSwitch)
            {
                CallProgram("IMP.ACREDITACIONES", 1, 1);
            }
        }
        
    }
}

